package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.pojo.Setmeal;

public interface SetMealService extends IService<Setmeal> {
    Page<SetmealDto> selectPageByName(Integer page, Integer pageSize, String name);

    void saveWithDishes(SetmealDto setmealDto);

    SetmealDto selectById(Long id);

    void updateSetmeal(SetmealDto setmealDto);

    void updateStatusByIds(Integer status, Long[] ids);

    void deleteWithDishes(Long[] ids);
}
